<?php 
	$this->backend_left_menu = 'menu';
	$this->backend_left_menu_datas = array('model'=>$model);
?>

<?php
$this->breadcrumbs=array(
	UserModule::t('Users')=>array('admin'),
	$model->userName,
);
?>
<h2><?php echo UserModule::t('View User').' "'.$model->userName.'"'; ?></h2>

<?php

	$attributes = array(
		'id',
		'userName',
	);
	
	array_push($attributes,
		'password',
		'email',
		array(
			'name' => 'firstName',
			'value' => $model->firstName,
		),
		array(
			'name' => 'lastName',
			'value' => $model->lastName,
		),
		array(
			'name' => 'role',
			'value' => $model->role,
		)
	);
	
	$this->widget('zii.widgets.CDetailView', array(
		'data'=>$model,
		'attributes'=>$attributes,
	));
	

?>
